
<header class="layout head padding-small">
    <a href="javascript:back(true);" class="hBack float-left"></a>
    <h4 class="hTxt float-left text-center text-white">积分中心</h4>
    <a href="javascript:;" id="btnJdkey" class="hHlep float-right"></a>
</header>

<div class="margin">
    <div class="layout">

        <div class="line">
            <ul class="x12 list-unstyle">
                <form method="get" id="J_Search">
                    <input type="hidden" name="act" value="pointprod">
                    <li class="x9"><input type="text" name="keyword" value="<?php echo
                       $_GET['keyword']?>" class="input left_yj" placeholder="输入商品名称"></li>
                    <li class="x3"><span class="button right_yj bg-dot button-block" onclick="pclicked('index.php?'+$('#J_Search').serialize())">搜 索</span></li>
                </form>
            </ul>
        </div><!--//line-->

        <ul class="list-media margin-top">
            <?php if(!empty($output['pointprod_list']) && is_array($output['pointprod_list'])){?>
            <?php foreach ($output['pointprod_list'] as $k=>$v){?>
            <li class="x12 bg-white radius-big padding">
                <a url="index.php?act=pointprod&op=pinfo&id=<?php echo $v['pgoods_id']?>" onclick="pclicked(this);">
                    <div class="x4 float-left"><img class="img-responsive self-motion" src="<?php echo SiteUrl.DS.$v['pgoods_image'] ?>" onerror="this.src='<?php echo TEMPLATES_PATH.DS.'images/touch2013/no_100_100.jpg'?>'" ></div>
                    <ul class="x8 float-right list-unstyle padding-small-left">
                        <li class="width" style="height: 3.5rem;"><strong><?php echo $v['pgoods_name']; ?></strong></li>
                        <li class="elide zt_color"><strong>市场价：<?php if($_SESSION['is_login'] != 1){?>
                                    登录后显示
                                <?php }else{?>
                                &yen;<?php echo $v['pgoods_price'];?>
                                <?php }?></strong></li>
                        <li class="zt_color"><strong>兑换积分：<?php echo $v['pgoods_points'];?></strong></li>

                    </ul>
                </a>
            </li>
            <?php }?>



        <?php }else{?>
            <!--无内容S-->
            <li class="noTxt">
                <div class="text-center text-gray padding-large">
                    <i class="icon-meh-o"></i>
                    <p>暂无相关的数据记录。</p>
                </div>
            </li>
            <!--无内容E-->
            <?php }?>   </ul>
        <div class="clear"></div>
        <?php require_once 'page.php';?>

    </div>

</div>

